From 88edada0d90f09efba7e82639e88a154c5c2e61d Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 18 Aug 2015 19:34:21 -0300 Subject: [PATCH] placessidebar: set Other Locations uri By assigning an URI to Other Locations item, we can programaticaly select it. Fixes a bug in Nautilus, where the Other Locations item is unselected imediately after being clicked. --- gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 0e64cd425f..3049e5a778 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -1305,7 +1305,7 @@ update_places (GtkPlacesSidebar *sidebar) add_place (sidebar, PLACES_OTHER_LOCATIONS, SECTION_OTHER_LOCATIONS, - _("Other Locations"), icon, NULL, + _("Other Locations"), icon, "other-locations:///", NULL, NULL, NULL, 0, _("Show other locations")); g_object_unref (icon); -- 2.30.2